Application Definition File
application Element
Application Definition File : application Element
Description
Defines the M-Files Application.
Namespace (none)
Diagram
dashboards Element modules Element enabled-by-default Element optional Element required-mfiles-version Element copyright Element publisher-license-key Element publisher Element description Element version Element name Element guid Element All application Element
Overview
application
Defines the M-Files Application.
All
guid xs:string

The application identifier (application GUID), which is the globally unique identifier for the application.

name xs:string

The application name.

version optional xs:string

The application version.

description optional xs:string

The application description.

publisher optional xs:string

The application publisher.

publisher-license-key optional xs:string
The publisher license key.
copyright optional xs:string

The application copyright note.

required-mfiles-version optional xs:string

Required M-Files version.

optional optional xs:boolean

Application optionality.

enabled-by-default optional xs:boolean

Specifies whether the application becomes automatically enabled or disabled.

modules
Contains M-Files Application dashboard definitions.
Sequence
module 1..∞

Defines a module for M-Files application.

environment required Restriction of xs:string

Specifies the execution environment of the module.

name optional xs:string

Specifies the application module name.

engine optional xs:string

Specifies the physical execution engine for the application module.

event-priority optional xs:integer
Specifies the event handling priority for this dashboard.
enabled optional xs:boolean

Specifies if the application module is enabled or disabled.

Sequence
file 1..∞ xs:string

Specifies a source file for the application module.

dashboards optional

Contains M-Files Application module definitions.

Sequence
dashboard 0..∞

Defines a dashboard for M-Files application.

name optional xs:string

Specifies the dashboard name.

id required xs:string

Specifies the dashboard identifier.

event-priority optional xs:integer

Specifies the event handling priority for this application module.

Sequence
content xs:string
Specifies the content file for the dashboard.
trusted-content 0..∞ xs:string
Specifies a trusted URL for dashboard.
allow-selection optional xs:boolean
Specifies if the dashboard content can be selected and copied to the clipboard.
icon optional xs:string
icon-selected optional xs:string
Source
<xs:element name="application" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType>
    <xs:all>
      <xs:element name="guid" type="xs:string" minOccurs="1" />
      <xs:element name="name" type="xs:string" minOccurs="1" />
      <xs:element name="version" type="xs:string" minOccurs="0" />
      <xs:element name="description" type="xs:string" minOccurs="0" />
      <xs:element name="publisher" type="xs:string" minOccurs="0" />
      <xs:element name="publisher-license-key" type="xs:string" minOccurs="0" />
      <xs:element name="copyright" type="xs:string" minOccurs="0" />
      <xs:element name="required-mfiles-version" type="xs:string" minOccurs="0" />
      <xs:element name="optional" type="xs:boolean" minOccurs="0" />
      <xs:element name="enabled-by-default" type="xs:boolean" minOccurs="0" />
      <xs:element name="modules" minOccurs="1">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="module" minOccurs="1" maxOccurs="unbounded">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="file" type="xs:string" minOccurs="1" maxOccurs="unbounded" />
                </xs:sequence>
                <xs:attribute name="environment" use="required">
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:enumeration value="shellui" />
                      <xs:enumeration value="vaultui" />
                      <xs:enumeration value="vaultcore" />
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
                <xs:attribute name="name" type="xs:string" />
                <xs:attribute name="engine" type="xs:string" />
                <xs:attribute name="event-priority" type="xs:integer" />
                <xs:attribute name="enabled" type="xs:boolean" />
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="dashboards" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="dashboard" minOccurs="0" maxOccurs="unbounded">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="content" type="xs:string" />
                  <xs:element name="trusted-content" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
                  <xs:element name="allow-selection" type="xs:boolean" minOccurs="0" />
                  <xs:element name="icon" type="xs:string" minOccurs="0" maxOccurs="1" />
                  <xs:element name="icon-selected" type="xs:string" minOccurs="0" maxOccurs="1" />
                </xs:sequence>
                <xs:attribute name="name" type="xs:string" />
                <xs:attribute name="id" use="required" type="xs:string" />
                <xs:attribute name="event-priority" type="xs:integer" />
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:all>
  </xs:complexType>
</xs:element>
See Also
Application Definition File